import { IPSWFLinkSingleCond } from './ipswflink-single-cond';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSWFLinkSingleCondImpl extends PSModelObjectImpl implements IPSWFLinkSingleCond {
  get codeName(): string {
    return this.M.codeName;
  }

  get condOP(): string {
    return this.M.condOP;
  }

  get condType(): 'GROUP' | 'SINGLE' | 'CUSTOM' {
    return this.M.condType;
  }

  get dynaModelFilePath(): string {
    return this.M.dynaModelFilePath;
  }

  get fieldName(): string {
    return this.M.fieldName;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): string {
    return this.M.name;
  }

  get paramType(): 'ENTITYFIELD' | 'CURTIME' {
    return this.M.paramType;
  }

  get paramValue(): string {
    return this.M.paramValue;
  }

  get userCat(): string {
    return this.M.userCat;
  }

  get userTag(): string {
    return this.M.userTag;
  }

  get userTag2(): string {
    return this.M.userTag2;
  }

  get userTag3(): string {
    return this.M.userTag3;
  }

  get userTag4(): string {
    return this.M.userTag4;
  }

  get cls(): string {
    return 'PSWFLinkSingleCondImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'wf.IPSWFLinkSingleCond') return true;
    return super.instanceof(cls);
  }
}
